<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: C:/Dvlp/_Perso/QxOrm/include/QxSerialize/QxSerializeMacro.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_qx_serialize_macro_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a>  </div>
  <div class="headertitle">
<div class="title">QxSerializeMacro.h File Reference</div>  </div>
</div>
<div class="contents">

<p><a href="_qx_serialize_macro_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_qx_serialize_macro_8h.html#a30ee55fc16a58b4b9b8b41e248e3c66e">QX_ARCHIVE_NAMESPACE_FCT_IMPL</a>(T, INPUT, OUTPUT)</td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="a30ee55fc16a58b4b9b8b41e248e3c66e"></a><!-- doxytag: member="QxSerializeMacro.h::QX_ARCHIVE_NAMESPACE_FCT_IMPL" ref="a30ee55fc16a58b4b9b8b41e248e3c66e" args="(T, INPUT, OUTPUT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define QX_ARCHIVE_NAMESPACE_FCT_IMPL</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">T, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">INPUT, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">OUTPUT&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment">\
template &lt;class T&gt; \
inline <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="namespaceqx_1_1serialization_1_1qt.html#a23cd5a030d7301735ad5b734813d5159">to_file</a>(<span class="keyword">const</span> T &amp; obj, <span class="keyword">const</span> QString &amp; sFileName, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags = boost::archive::no_header) { <span class="keywordflow">return</span> <a class="code" href="classqx_1_1_qx_archive___to_file.html#acfb7e680b09eeba2c4bdb2d004ae5b01">qx::QxArchive_ToFile&lt;T, INPUT, OUTPUT&gt;::toFile</a>(obj, sFileName, flags); }; \
\
template &lt;class T&gt; \
inline <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="namespaceqx_1_1serialization_1_1qt.html#a73923ed86ea7013cbc4fd13f18b3a7ed">from_file</a>(T &amp; obj, <span class="keyword">const</span> QString &amp; sFileName, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags = boost::archive::no_header) { <span class="keywordflow">return</span> <a class="code" href="classqx_1_1_qx_archive___from_file.html#a95b21042546f6022404fd6678a839822">qx::QxArchive_FromFile&lt;T, INPUT, OUTPUT&gt;::fromFile</a>(obj, sFileName, flags); }; \
\
template &lt;class T&gt; \
inline <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="namespaceqx_1_1serialization_1_1qt.html#af9dd6d5070bd8c698590bd3e7c43e155">to_file_compressed</a>(<span class="keyword">const</span> T &amp; obj, <span class="keyword">const</span> QString &amp; sFileName, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags = boost::archive::no_header, <span class="keywordtype">int</span> iCompressionLevel = -1) { <span class="keywordflow">return</span> <a class="code" href="classqx_1_1_qx_archive___to_file_compressed.html#ac573fd66aca79051b6c1f3caf86f5a81">qx::QxArchive_ToFileCompressed&lt;T, INPUT, OUTPUT&gt;::toFileCompressed</a>(obj, sFileName, flags, iCompressionLevel); }; \
\
template &lt;class T&gt; \
inline <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="namespaceqx_1_1serialization_1_1qt.html#a580eb0a79f16b24b1f6dee0b0a405d19">from_file_compressed</a>(T &amp; obj, <span class="keyword">const</span> QString &amp; sFileName, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags = boost::archive::no_header) { <span class="keywordflow">return</span> <a class="code" href="classqx_1_1_qx_archive___from_file_compressed.html#a89af0c98ee30722f602eb5c7e32fd59d">qx::QxArchive_FromFileCompressed&lt;T, INPUT, OUTPUT&gt;::fromFileCompressed</a>(obj, sFileName, flags); }; \
\
template &lt;class T&gt; \
inline QString <a class="code" href="namespaceqx_1_1cvt.html#a7411faf9b027f9f4cfbd8018c8df6b6e">to_string</a>(<span class="keyword">const</span> T &amp; obj, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags = boost::archive::no_header) { <span class="keywordflow">return</span> <a class="code" href="classqx_1_1_qx_archive___to_string.html#a615a16741944572f77ff01302d93d75a">qx::QxArchive_ToString&lt;T, INPUT, OUTPUT&gt;::toString</a>(obj, flags); }; \
\
template &lt;class T&gt; \
inline <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="namespaceqx_1_1cvt.html#ab4e6842789bd5c746dd1ec0db4d6a7cf">from_string</a>(T &amp; obj, <span class="keyword">const</span> QString &amp; sString, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags = boost::archive::no_header) { <span class="keywordflow">return</span> <a class="code" href="classqx_1_1_qx_archive___from_string.html#ac904c1ccaaee3dd9bf2a02f38181acbd">qx::QxArchive_FromString&lt;T, INPUT, OUTPUT&gt;::fromString</a>(obj, sString, flags); }; \
\
template &lt;class T&gt; \
inline QByteArray <a class="code" href="namespaceqx_1_1serialization_1_1qt.html#ac5f8b6b77af991f2bd9c2ea64ab2b2eb">to_byte_array</a>(<span class="keyword">const</span> T &amp; obj, <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1archive__wide__traits.html#a1c7059ff9e10be2d73fe350e478aae47">qx::trait::archive_wide_traits&lt; INPUT &gt;::type_string</a> * owner = NULL, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags = boost::archive::no_header) { <span class="keywordflow">return</span> <a class="code" href="classqx_1_1_qx_archive___to_byte_array.html#a9023f4b6daa53f6ce91f18543c7bcb57">qx::QxArchive_ToByteArray&lt;T, INPUT, OUTPUT&gt;::toByteArray</a>(obj, owner, flags); }; \
\
template &lt;class T&gt; \
inline <a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a> <a class="code" href="namespaceqx_1_1serialization_1_1qt.html#aa00fdb7bb5871800e457e18c2a3147b5">from_byte_array</a>(T &amp; obj, <span class="keyword">const</span> QByteArray &amp; data, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags = boost::archive::no_header) { <span class="keywordflow">return</span> <a class="code" href="classqx_1_1_qx_archive___from_byte_array.html#a3d572ab07e563056b749938fcfb6f9d0">qx::QxArchive_FromByteArray&lt;T, INPUT, OUTPUT&gt;::fromByteArray</a>(obj, data, flags); }; \
\
</pre></div>
<p>Definition at line <a class="el" href="_qx_serialize_macro_8h_source.html#l00040">40</a> of file <a class="el" href="_qx_serialize_macro_8h_source.html">QxSerializeMacro.h</a>.</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_qx_serialize_macro_8h.html">QxSerializeMacro.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:09 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
